﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B3
{
    class Program
    {
        static void Main(string[] args)
        {
            string sol = "";
            int flag = 1;
            for(int i = 2; i <= 100; i++)
            {
                for(int j = 2; j <= 10&&j<i; j++)
                {
                    if (i % j == 0) { flag = 0; }
                }
                if (flag == 1) { sol += (" "+i.ToString()); }
                flag = 1;
            }
            Console.WriteLine("2-100内的素数是："+sol);
            //Console.ReadLine();
        }
    }
}
